<?php
ob_start();?><?php
include("config.php");
require_once("auth.php");
$cname=$_POST['txtCustomerName'];
$add=$_POST['textAdd'];
$ph=$_POST['txtPhone'];
$email=$_POST['txtEmail'];

$data=mysql_query("insert into customers values('','$cname','$email','$add1','$ph')");
if($data)
{
header("location: displaycustomers.php?added=added");
}
else
{
echo mysql_error();
}
?>
<?php ob_flush();
?>